<?php
$title = 'Add new annonce';
$this->headTitle($title);
?>
<div class="row">
    <div class="col-lg-12 form-group">
        <h1><?php echo $this->escapeHtml($title); ?></h1>
        <?php
        $form = $this->form;
        $form->setAttribute('action', $this->url('annonce', array('action' => 'add')));
        $form->prepare();
        
        echo $this->form()->openTag($form);
        echo $this->formHidden($form->get('id'));
    ?>
        <div class="form-group col-sm-4"> <?php echo $this->formRow($form->get('texte'));  ?> </div>
        <div class="form-group col-sm-4"><?php echo $this->formSubmit($form->get('submit')); ?></div>
    <?php echo $this->form()->closeTag(); ?>
    </div>
</div>